﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="menu_top.aspx.cs" Inherits="AnyOffice.general.attend.manage.menu_top" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
	<head>
		<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script>
var menu_id=0;

function setPointer(theRow, thePointerColor,menu_id_over)
{
  if(menu_id!=menu_id_over)
  {
	if(thePointerColor == "#B3D1FF")
		theRow.className="menu_active";
	else
		theRow.className="menu_comon";
   }
}

function view_menu1()
{
  if(menu_id!=0)
     parent.menu_main.location="confirm.aspx";
   menu_id=1;
   menu_1.className="menu_active";
   menu_2.className="menu_comon";
   menu_3.className="menu_comon";
}

function view_menu2()
{
   parent.menu_main.location="user_manage.aspx";
   menu_id=2;
   menu_1.className="menu_comon";
   menu_2.className="menu_active";
   menu_3.className="menu_comon";
}

function view_menu3()
{
   parent.menu_main.location="query.aspx";
   menu_id=3;
   menu_1.className="menu_comon";
   menu_2.className="menu_comon";
   menu_3.className="menu_active";
}
</script>
	</head>
	<body topmargin="0" leftmargin="0" onload="view_menu1()">
		<form id="Form1" method="post" runat="server">
		<TABLE class="big" cellspacing="0" height="100%" width="100%" bgcolor="#DDDDDD" border="1" cellpadding="1" bordercolorlight="#000000" bordercolordark="#FFFFFF">
 <TR>

   <TD width="180" title="考勤审批" id="menu_1" onclick="view_menu1()" onmouseover="setPointer(this, '#B3D1FF',1)" onmouseout="setPointer(this, '#DDDDDD',1)" style="cursor:hand">
       <img src="/images/menu/attendance.gif" align="absmiddle"><b><font color="#000000"> 考勤审批</span>
   </TD>

   <TD width="180" title="人员考勤记录" id="menu_2" onclick="view_menu2()" onmouseover="setPointer(this, '#B3D1FF',2)" onmouseout="setPointer(this, '#DDDDDD',2)" style="cursor:hand">
       <img src="/images/menu/attendance.gif" align="absmiddle"><b><font color="#000000"> 人员考勤记录</font></b
   </TD>
   <TD width="180" title="考勤查询与统计" id="menu_3" onclick="view_menu3()" onmouseover="setPointer(this, '#B3D1FF',3)" onmouseout="setPointer(this, '#DDDDDD',3)" style="cursor:hand">
       <img src="/images/menu/attendance.gif" align="absmiddle"><b><font color="#000000"> 考勤查询与统计</font></b
   </TD>
   <TD>       
   </TD>

   </TR>
</TABLE>
		</form>
	</body>
</html>
